package com.eh.factory.abstractFactory.factory.impl;

import com.eh.factory.abstractFactory.factory.PizzaIngredientFactory;
import com.eh.factory.abstractFactory.ingredient.Dough;
import com.eh.factory.abstractFactory.ingredient.NYDough;
import com.eh.factory.abstractFactory.ingredient.NYSauce;
import com.eh.factory.abstractFactory.ingredient.Sauce;

/**
 * Created by David on 2016/4/26.
 */
public class NYPizzaIngredientFactory implements PizzaIngredientFactory {
    @Override
    public Dough createDough() {
        return new NYDough();
    }

    @Override
    public Sauce createSauce() {
        return new NYSauce();
    }
}
